home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 July / EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso / recent / iib122.lha / IIB / Threads / Updated_State < prev    next >
Internet Message Format  |  1998-02-16  |  10KB

  1. Date:         Tue, 25 Nov 1997 19:13:51 -0500
  2. From: Roy Baker <PowerRoy@AOL.COM>
  3. Subject:      [IML] IFW: Re: Updated States but...
  4.  
  5. Jon Rubin wrote;
  6.  
  7. <<I created an object with a default and two other states. I selected only
  8. the Shape Data Type and everything worked fine.>>
  9. (snip)
  10. <<So I went back and using the States Info
  11. command I added the Object Properties Data Type to all the states. Then I
  12. changed the color and filter values on one of the states and Updated that
  13. state. Unfortunately, this caused ALL of the states to changes their color
  14. and filtration values.>>
  15. (snip)
  16. <<So my question is: Is it possible to use the Object Properties Data Type to
  17. morph the base color and filter values of an object or is there some
  18. limitation to morphing these properties that is escaping me?>>
  19.  
  20. Jon,
  21.  
  22. There seems to be a problem when using states and selecting "object
  23. properties" (I'm assuming that you are using Imagine for Windows ver 1.3.4).
  24. I ran into a similar problem to what you describe just the other day. At
  25. other times, this problem has manifested itself by re-setting specular
  26. 'overdrive' full-up to 10 when you change from one state to another. I've
  27. also seen it kill all specular hilights completely, resulting in a very
  28. 'flat' looking object.
  29.  
  30. In my particular case, I solved the problem by using the ABAttrib texture,
  31. UN-checking "object properties", and CHECKING "textures/brushes" in the
  32. states info dialog box. Then you use the ABAttrib texture to set your desired
  33. color/filter/specular etc. values, and updating that state. Do the same for
  34. any other states (using ABAttrib to set different color/filter/spec values),
  35. and updating. This has worked well for me at least. I shot almost an entire
  36. day in the butt trying to figure out what was going on with the "object
  37. properties" check box and different states. My final solution is this; if
  38. you're using states, don't check the "object properties" box at all. You'll
  39. save yourself a lot of hassle if you can find another way to achieve the
  40. effect you want. Let me know if this helps, or if I'm just mis-understanding
  41. your problem. (In my particular instance, I was making a 3D button for a
  42. large kiosk project, and when you click on the button, it changes shape, and
  43. also changes color and brightness). Made me real glad that the AB Textures
  44. are around!
  45.  
  46. ---------------------------------
  47.  
  48. Date:         Wed, 26 Nov 1997 09:55:37 -0000
  49. From: Richard Foster <RFosterTG@dial.pipex.com>
  50.  
  51. States...
  52.  
  53. Shape data type: stores the shape of the object including the size of it
  54. when you scale an object.
  55. Grouping data type: stores the relationship of the child objects in a group
  56. to the parent, including position and alignment.
  57. Face Colors data type: stores the base colour, reflect and transparency of
  58. SELECTED faces using the Face Colors command in the Functions menu. This is
  59. a fragile command in that if you alter the base attributes of the object
  60. after defining the Face Colors, States will not give you what you thought.
  61. Object Props. data type: Stores information about all the other attributes
  62. excluding that covered by Face Colors and Textures/Maps. There are some
  63. minor problems with this including inability to store overdrive settings.
  64. Textures/Maps data type: Stores information on the applied textures/maps in
  65. as much as you can vary any of the parameters between two states.
  66.  
  67. With Mike's permission I may release this section of the manual so's you
  68. can see what the rest will be like.
  69.  
  70. ---------------------------------
  71.  
  72. Date:         Fri, 28 Nov 1997 00:13:48 -0500
  73. From: Roy Baker <PowerRoy@AOL.COM>
  74.  
  75. Richard,
  76.  
  77. In your post dated Nov 26, you wrote ...
  78. <snip>
  79. <<Object Props. data type: Stores information about all the other attributes
  80. excluding that covered by Face Colors and Textures/Maps. There are some
  81. minor problems with this including inability to store overdrive settings.>>
  82.  
  83. I'm glad you brought this up. I've been confused about just what the "Object
  84. Properties" check-box was supposed to address. After reading your post (I've
  85. omitted all except the portion about Object Properties), I got the impression
  86. that what this function is 'supposed' to do is 'remember' things like base
  87. color, specularity settings, etc. (i.e.; 'Attributes'), for use with
  88. different states. Most of the time, using this option has caused me a lot of
  89. grief by 'remembering' that specular overdrive is always set full-up to 10.
  90. Since I'm still a little new to Imagine (started off using version 1.3.4,
  91. just a few months ago), I thought that perhaps I should conduct a few simple
  92. tests to see just what 'Object Properties' really does do. This is what I
  93. found out...
  94.  
  95. Indeed it is _supposed_ to remember all the basic attributes of an object. In
  96. fact it DOES remember them ... but something is fouled up, because while it
  97. remembers the values that you enter into the requestor, it 'forgets' to
  98. actually re-apply many of them to the object when you render. Again, if you
  99. check the info in the requestor by switching between various states that have
  100. been set-up, it appears that all the attributes have been saved and recalled
  101. correctly (except specular overdrive). But actually rendering an object
  102. reveals that many of the object's attributes have not been re-applied
  103. correctly. Specifically, the attributes which are NOT re-applied correctly
  104. are;
  105.  
  106. Base Color, Specular Color, Hardness, Reflectivity, and Filter Color.
  107.  
  108. And the attributes that ARE re-applied correctly are;
  109.  
  110. Roughness, Brightness, Fog, and Light settings.
  111.  
  112. If I understand correctly, this problem has only manifested itself since the
  113. introduction of 'Specular Overdrive', and so only occurs in IFW 1.3.4 ... I
  114. also think this will be fixed in the next CUP. But I wanted to tell you
  115. "Thanks" for bringing this up, and stimulating my little experiment. Now that
  116. I've figured out just what is supposed to be included in 'Object Properties',
  117. and just what does and doesn't work correctly, it'll save me some time and
  118. effort in the future. (And again, I'll say that my work-around has been to
  119. use the ABAttrib Texture to set all the basic object attributes, don't check
  120. the 'Object Properties' box when working with states, and just use the
  121. 'Textures / Brushes' option instead. While the ABAttrib texture doesn't offer
  122. Specular Overdrive, or as many options for Fog Objects, it works great for
  123. things like Base Color, Specular, Hardness, Reflectivity, and Filter values).
  124. Again, thanx very much for your input on what has been a very perplexing
  125. problem for me, on a few certain occasions.
  126.  
  127. ---------------------------------
  128.  
  129. Date:         Fri, 28 Nov 1997 19:07:03 -0800
  130. From: Clae & Deborah Tanett <cd@ACCUTEK.COM>
  131.  
  132. -----Original Message-----
  133. From: Roy Baker <PowerRoy@AOL.COM>
  134. To: IMAGINE@MAELSTROM.STJOHNS.EDU <IMAGINE@MAELSTROM.STJOHNS.EDU>
  135. Date: Thursday, November 27, 1997 9:59 PM
  136. Subject: [IML] IFW: Re: Updated States but...
  137.  
  138.  
  139. >Richard,
  140. >
  141. >In your post dated Nov 26, you wrote ...
  142. > <snip>
  143. > <<Object Props. data type: Stores information about all the other
  144. > attributes excluding that covered by Face Colors and Textures/Maps. There
  145. > are some minor problems with this including inability to store overdrive
  146. > settings.>>
  147.  
  148. >
  149. >I'm glad you brought this up. I've been confused about just what the
  150. >"Object Properties" check-box was supposed to address
  151.  
  152. > I got the impression that what this function is 'supposed' to do is
  153. >'remember' things like base color...
  154.  
  155. Hi
  156. Clae here
  157.  
  158. >excluding that covered by Face Colors
  159.  
  160. The Face Color option in the States requester is used for that. (I use
  161. procedurals textures mainly for this; hue & huevary for changing face
  162. coloring) BTW I use IFA 5.0 and those are Essence textures by the now bye
  163. bye Apex Software Inc. :)
  164.  
  165. > specularity settings, etc. (i.e.; 'Attributes'),
  166.  
  167. I would like to know; does IFW have an Imagine specular procedural texture
  168. (specular.itx). I never use the attributes's setting (nor hardness) because
  169. I can get better control of the specular/hardness with the .itx. I can set
  170. different subgroups's faces with the .itx where as I can't with the
  171. Attributes (I work with a lot of solid models). Plus it's easier to use the
  172. States Textures/Brushes for morphing between States.
  173.  
  174. > Most of the time, using this option has caused me a lot of
  175. >grief by 'remembering' that specular overdrive is always set full-up to 10.
  176.  
  177. What is specular overdrive?
  178.  
  179. >...caused me a lot of grief...
  180.  
  181. I hear this a lot from those trying to use it. :)
  182.  
  183.  
  184. >Since I'm still a little new to Imagine... I thought that perhaps I should
  185. >conduct a few simple tests to see just what 'Object Properties' really
  186. >does do. This is what I found out...
  187. >
  188. > Specifically, the attributes which are NOT re-applied correctly are;...
  189. >
  190. >Base Color...
  191.  
  192. Again States' Face Color (IFA anyway) is used for this...
  193.  
  194. > Specular Color, Hardness, Reflectivity, and Filter Color.
  195.  
  196. For IFA users Specular & Hardness work fine but Reflectivity, and Filter
  197. Color don't.
  198.  
  199. >
  200. >And the attributes that ARE re-applied correctly are;
  201. >
  202. >Roughness, Brightness, Fog, and Light settings.
  203.  
  204. All these work in IFA also...
  205.  
  206. >
  207. >If I understand correctly, this problem has only manifested itself since
  208. >the introduction of 'Specular Overdrive'
  209.  
  210. That's why I want to know what this 'Beast' is. :)
  211.  
  212. >(And again, I'll say that my work-around has been to
  213. >use the ABAttrib Texture to set all the basic object attributes, don't
  214. >check the 'Object Properties' box when working with states, and just use
  215. > the 'Textures / Brushes' option instead.
  216.  
  217. Interesting, IFA doesn't have such a one attribute texture but it does have
  218. texture work arounds too.
  219.